<template>
  <div>test222</div>
  <el-row>
    <el-button :icon="Search" circle />
    <el-button type="primary" :icon="Edit" circle />
    <el-button type="success" :icon="Check" circle />
    <el-button type="info" :icon="Message" circle />
    <el-button type="warning" :icon="Star" circle />
    <el-button type="danger" :icon="Delete" circle />
  </el-row>
  <div>
    <el-date-picker
      v-model="date"
      type="date"
      format="YYYY-MM-DD"
      value-format="YYYY-MM-DD"
      placeholder="日期选择"
    />
  </div>
</template>

<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from "@element-plus/icons-vue";
import { ref } from "vue";
const date = ref("");

// if ("serial" in navigator) {
//   // 浏览器支持串口通信
//   console.log("true");
// }
</script>

<style lang="less">
</style>